package com.wanghaoran.service;

import com.github.pagehelper.PageInfo;
import com.wanghaoran.dto.*;
import com.wanghaoran.entity.Direction;
import com.wanghaoran.entity.Menu;
import com.wanghaoran.excel.DirectionExcel;
import com.wanghaoran.excel.MenuExcel;
import com.wanghaoran.vo.DirectionVO;
import com.wanghaoran.vo.MenuVO;

import java.util.List;

/**
 * @author wanghaoran
 */

public interface DirectionService {

    int insert(DirectionInsertDTO dto);

    Direction select(Long id);

    List<DirectionVO> list();

    PageInfo<Direction> page(DirectionPageDTO dto);

    int update(DirectionUpdateDTO dto);

    int delete(Long id);

    int deleteBatch(List<Long> ids);

    List<DirectionExcel> getExcelData();


}
